//
//  SGTextField.h
//  SGOCFrame
//
//  Created by lyq on 2019/3/25.
//  Copyright © 2019 蜀归科技. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface ZMTextField : UITextField
/** 左边视图宽度*/
@property (assign, nonatomic)IBInspectable CGFloat  leftViewWidth;
/** 左边图片*/
@property (strong, nonatomic)IBInspectable UIImage  *leftImage;
/** 右边视图宽度*/
@property (assign, nonatomic)IBInspectable CGFloat  rightViewWidth;
/** 右边图片*/
@property (strong, nonatomic)IBInspectable UIImage  *rightImage;
/** 最多字数*/
@property (assign, nonatomic)IBInspectable NSUInteger maxLength;
@property (copy, nonatomic) NSString *lastTextContent;
/** PlaceHolder 字体颜色*/
@property (strong, nonatomic)IBInspectable UIColor  *placeHolderColor;
/** 第一响应*/
@property (assign, nonatomic)IBInspectable BOOL     firstResponder;
/** 是否处理价格*/
@property (assign, nonatomic)IBInspectable BOOL     isPrice;
/** 是否只能输入数字*/
@property (assign, nonatomic)IBInspectable BOOL     isNumber;
/** 是否只能输入数字,字母*/
@property (assign, nonatomic)IBInspectable BOOL     isNumberAndLetter;
/** 是否身份证*/
@property (assign, nonatomic)IBInspectable BOOL     isIdCard;
/** 是否密码,限制汉字和空格*/
@property (assign, nonatomic)IBInspectable BOOL     isPassword;


@end

NS_ASSUME_NONNULL_END
